package com.cgwx.service;

import com.cgwx.entity.Shared;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public interface ISharedService {

    List<Shared> getMyShared(String account, String pattern, String column, String sort);

    List<Shared> getSharedMe(String sharedId, String pattern, String column, String sort);

    List<Shared> getShared(Shared shared);

    String cancelSharedById(List<String> ids);

    String deleteSharedById(List<String> ids);

    String restoreSharedById(List<String> ids);

    String updateSharedById(Shared shared);

    String insertShared(Shared shared);

    List<Shared> getDeptShared(String sharedId, String pattern);
}
